<div data-page="Subject_offline_select_course" class="page my_subject">
    <div class="page-content">
        <include file="Public:subject_header"/>
        <div class="container text mgb80">
            <div class="col-md-12">
                <include file="Public:subject_nav"/>
            </div>
            <div class="col-md-8">
                <div id="offline_select" data-type="swiperPage">
                    <ul class="gntabs swiperTap">
                        <li class="active"><a
                                href="<{:U('offline_select_record',array('subjectid'=>$subjectid))}>">选座记录</a></li>
                        <li><a href="<{:U('offline_select_course',array('subjectid'=>$subjectid))}>">选座</a></li>
                        <li class="offline_guide"><a
                            href="<{:U('offline_guide',array('subjectid'=>$subjectid))}>">选座指南</a></li>
                    </ul>
                    <div class="swiperContent">
                        <div class="tabPane">
                            <ul id="ulNewsFeed" class="unstyled mgt20 class_books">
                                <volist name="data" id="vo">
                                    <li class="media pos_rel">
                                        <div class="feed-ico s_b_c"><span class="glyphicon glyphicon-flag"
                                                                          aria-hidden="true"></span></div>
                                        <div class="media-body">
                                            <p class="media-heading">课程名称：<{$vo.subject}> </p>
                                            <p class="media-heading">上课地点：<{$vo.name}> </p>
                                            <p class="media-heading">座 位 号：<{$vo.seat_num}> </p>
                                            <p class="media-heading">预约时间：<{$vo.info}> </p>
                                            <p class="media-heading"><{$vo.school_name}></p>
                                        </div>
                                        <a data-type="ajaxGet"
                                           href="<{:U('User/cancel_book_class',array('id'=>$vo['id']))}>"
                                           goto="<{:U('Subject/offline_select_course',array('subjectid'=>$vo['subject_id']))}>"
                                           class="btn btn-default enter_btn cancelbnt">重选</a></li>
                                </volist>
                                <include file="Public:pager"/>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-4 hidden-xs hidden-sm hidden-md"> <{:AD('offline_guide_'.$subjectParentId)}> <a
                    class="btn btn-success w100 a_bnt mgb20" title="我要提问" data-type="modal"
                    href="/Subject/ask/pid/<{$subjectid}>">我要提问</a> <{:ADGroup('Subject_offline')}>
            </div>
        </div>
    </div>
    <script>
        $(function () {


            $(".cancelbnt").on("ajaxGetSuccess", function (event) {
                var _this = $(this);
                //	dialog("取消成功",function(){
//								  _this.parent().fadeOut(500);
//								},500);
                _this.parent().hide();
                var url = $(this).attr('goto');
                hiApp.jump(url);
            })
        })
    </script>
    <include file="Public:footer"/>
</div>
